package com.example.houduan.domain;

import java.util.ArrayList;
import java.util.List;

public class Viesumtop10Example {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public Viesumtop10Example() {
        oredCriteria = new ArrayList<>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andSpmIsNull() {
            addCriterion("spm is null");
            return (Criteria) this;
        }

        public Criteria andSpmIsNotNull() {
            addCriterion("spm is not null");
            return (Criteria) this;
        }

        public Criteria andSpmEqualTo(String value) {
            addCriterion("spm =", value, "spm");
            return (Criteria) this;
        }

        public Criteria andSpmNotEqualTo(String value) {
            addCriterion("spm <>", value, "spm");
            return (Criteria) this;
        }

        public Criteria andSpmGreaterThan(String value) {
            addCriterion("spm >", value, "spm");
            return (Criteria) this;
        }

        public Criteria andSpmGreaterThanOrEqualTo(String value) {
            addCriterion("spm >=", value, "spm");
            return (Criteria) this;
        }

        public Criteria andSpmLessThan(String value) {
            addCriterion("spm <", value, "spm");
            return (Criteria) this;
        }

        public Criteria andSpmLessThanOrEqualTo(String value) {
            addCriterion("spm <=", value, "spm");
            return (Criteria) this;
        }

        public Criteria andSpmLike(String value) {
            addCriterion("spm like", value, "spm");
            return (Criteria) this;
        }

        public Criteria andSpmNotLike(String value) {
            addCriterion("spm not like", value, "spm");
            return (Criteria) this;
        }

        public Criteria andSpmIn(List<String> values) {
            addCriterion("spm in", values, "spm");
            return (Criteria) this;
        }

        public Criteria andSpmNotIn(List<String> values) {
            addCriterion("spm not in", values, "spm");
            return (Criteria) this;
        }

        public Criteria andSpmBetween(String value1, String value2) {
            addCriterion("spm between", value1, value2, "spm");
            return (Criteria) this;
        }

        public Criteria andSpmNotBetween(String value1, String value2) {
            addCriterion("spm not between", value1, value2, "spm");
            return (Criteria) this;
        }

        public Criteria andFlagIsNull() {
            addCriterion("flag is null");
            return (Criteria) this;
        }

        public Criteria andFlagIsNotNull() {
            addCriterion("flag is not null");
            return (Criteria) this;
        }

        public Criteria andFlagEqualTo(String value) {
            addCriterion("flag =", value, "flag");
            return (Criteria) this;
        }

        public Criteria andFlagNotEqualTo(String value) {
            addCriterion("flag <>", value, "flag");
            return (Criteria) this;
        }

        public Criteria andFlagGreaterThan(String value) {
            addCriterion("flag >", value, "flag");
            return (Criteria) this;
        }

        public Criteria andFlagGreaterThanOrEqualTo(String value) {
            addCriterion("flag >=", value, "flag");
            return (Criteria) this;
        }

        public Criteria andFlagLessThan(String value) {
            addCriterion("flag <", value, "flag");
            return (Criteria) this;
        }

        public Criteria andFlagLessThanOrEqualTo(String value) {
            addCriterion("flag <=", value, "flag");
            return (Criteria) this;
        }

        public Criteria andFlagLike(String value) {
            addCriterion("flag like", value, "flag");
            return (Criteria) this;
        }

        public Criteria andFlagNotLike(String value) {
            addCriterion("flag not like", value, "flag");
            return (Criteria) this;
        }

        public Criteria andFlagIn(List<String> values) {
            addCriterion("flag in", values, "flag");
            return (Criteria) this;
        }

        public Criteria andFlagNotIn(List<String> values) {
            addCriterion("flag not in", values, "flag");
            return (Criteria) this;
        }

        public Criteria andFlagBetween(String value1, String value2) {
            addCriterion("flag between", value1, value2, "flag");
            return (Criteria) this;
        }

        public Criteria andFlagNotBetween(String value1, String value2) {
            addCriterion("flag not between", value1, value2, "flag");
            return (Criteria) this;
        }

        public Criteria andZznameIsNull() {
            addCriterion("zzname is null");
            return (Criteria) this;
        }

        public Criteria andZznameIsNotNull() {
            addCriterion("zzname is not null");
            return (Criteria) this;
        }

        public Criteria andZznameEqualTo(String value) {
            addCriterion("zzname =", value, "zzname");
            return (Criteria) this;
        }

        public Criteria andZznameNotEqualTo(String value) {
            addCriterion("zzname <>", value, "zzname");
            return (Criteria) this;
        }

        public Criteria andZznameGreaterThan(String value) {
            addCriterion("zzname >", value, "zzname");
            return (Criteria) this;
        }

        public Criteria andZznameGreaterThanOrEqualTo(String value) {
            addCriterion("zzname >=", value, "zzname");
            return (Criteria) this;
        }

        public Criteria andZznameLessThan(String value) {
            addCriterion("zzname <", value, "zzname");
            return (Criteria) this;
        }

        public Criteria andZznameLessThanOrEqualTo(String value) {
            addCriterion("zzname <=", value, "zzname");
            return (Criteria) this;
        }

        public Criteria andZznameLike(String value) {
            addCriterion("zzname like", value, "zzname");
            return (Criteria) this;
        }

        public Criteria andZznameNotLike(String value) {
            addCriterion("zzname not like", value, "zzname");
            return (Criteria) this;
        }

        public Criteria andZznameIn(List<String> values) {
            addCriterion("zzname in", values, "zzname");
            return (Criteria) this;
        }

        public Criteria andZznameNotIn(List<String> values) {
            addCriterion("zzname not in", values, "zzname");
            return (Criteria) this;
        }

        public Criteria andZznameBetween(String value1, String value2) {
            addCriterion("zzname between", value1, value2, "zzname");
            return (Criteria) this;
        }

        public Criteria andZznameNotBetween(String value1, String value2) {
            addCriterion("zzname not between", value1, value2, "zzname");
            return (Criteria) this;
        }

        public Criteria andZzidIsNull() {
            addCriterion("zzid is null");
            return (Criteria) this;
        }

        public Criteria andZzidIsNotNull() {
            addCriterion("zzid is not null");
            return (Criteria) this;
        }

        public Criteria andZzidEqualTo(String value) {
            addCriterion("zzid =", value, "zzid");
            return (Criteria) this;
        }

        public Criteria andZzidNotEqualTo(String value) {
            addCriterion("zzid <>", value, "zzid");
            return (Criteria) this;
        }

        public Criteria andZzidGreaterThan(String value) {
            addCriterion("zzid >", value, "zzid");
            return (Criteria) this;
        }

        public Criteria andZzidGreaterThanOrEqualTo(String value) {
            addCriterion("zzid >=", value, "zzid");
            return (Criteria) this;
        }

        public Criteria andZzidLessThan(String value) {
            addCriterion("zzid <", value, "zzid");
            return (Criteria) this;
        }

        public Criteria andZzidLessThanOrEqualTo(String value) {
            addCriterion("zzid <=", value, "zzid");
            return (Criteria) this;
        }

        public Criteria andZzidLike(String value) {
            addCriterion("zzid like", value, "zzid");
            return (Criteria) this;
        }

        public Criteria andZzidNotLike(String value) {
            addCriterion("zzid not like", value, "zzid");
            return (Criteria) this;
        }

        public Criteria andZzidIn(List<String> values) {
            addCriterion("zzid in", values, "zzid");
            return (Criteria) this;
        }

        public Criteria andZzidNotIn(List<String> values) {
            addCriterion("zzid not in", values, "zzid");
            return (Criteria) this;
        }

        public Criteria andZzidBetween(String value1, String value2) {
            addCriterion("zzid between", value1, value2, "zzid");
            return (Criteria) this;
        }

        public Criteria andZzidNotBetween(String value1, String value2) {
            addCriterion("zzid not between", value1, value2, "zzid");
            return (Criteria) this;
        }

        public Criteria andViewIsNull() {
            addCriterion("`view` is null");
            return (Criteria) this;
        }

        public Criteria andViewIsNotNull() {
            addCriterion("`view` is not null");
            return (Criteria) this;
        }

        public Criteria andViewEqualTo(String value) {
            addCriterion("`view` =", value, "view");
            return (Criteria) this;
        }

        public Criteria andViewNotEqualTo(String value) {
            addCriterion("`view` <>", value, "view");
            return (Criteria) this;
        }

        public Criteria andViewGreaterThan(String value) {
            addCriterion("`view` >", value, "view");
            return (Criteria) this;
        }

        public Criteria andViewGreaterThanOrEqualTo(String value) {
            addCriterion("`view` >=", value, "view");
            return (Criteria) this;
        }

        public Criteria andViewLessThan(String value) {
            addCriterion("`view` <", value, "view");
            return (Criteria) this;
        }

        public Criteria andViewLessThanOrEqualTo(String value) {
            addCriterion("`view` <=", value, "view");
            return (Criteria) this;
        }

        public Criteria andViewLike(String value) {
            addCriterion("`view` like", value, "view");
            return (Criteria) this;
        }

        public Criteria andViewNotLike(String value) {
            addCriterion("`view` not like", value, "view");
            return (Criteria) this;
        }

        public Criteria andViewIn(List<String> values) {
            addCriterion("`view` in", values, "view");
            return (Criteria) this;
        }

        public Criteria andViewNotIn(List<String> values) {
            addCriterion("`view` not in", values, "view");
            return (Criteria) this;
        }

        public Criteria andViewBetween(String value1, String value2) {
            addCriterion("`view` between", value1, value2, "view");
            return (Criteria) this;
        }

        public Criteria andViewNotBetween(String value1, String value2) {
            addCriterion("`view` not between", value1, value2, "view");
            return (Criteria) this;
        }

        public Criteria andCoinIsNull() {
            addCriterion("coin is null");
            return (Criteria) this;
        }

        public Criteria andCoinIsNotNull() {
            addCriterion("coin is not null");
            return (Criteria) this;
        }

        public Criteria andCoinEqualTo(String value) {
            addCriterion("coin =", value, "coin");
            return (Criteria) this;
        }

        public Criteria andCoinNotEqualTo(String value) {
            addCriterion("coin <>", value, "coin");
            return (Criteria) this;
        }

        public Criteria andCoinGreaterThan(String value) {
            addCriterion("coin >", value, "coin");
            return (Criteria) this;
        }

        public Criteria andCoinGreaterThanOrEqualTo(String value) {
            addCriterion("coin >=", value, "coin");
            return (Criteria) this;
        }

        public Criteria andCoinLessThan(String value) {
            addCriterion("coin <", value, "coin");
            return (Criteria) this;
        }

        public Criteria andCoinLessThanOrEqualTo(String value) {
            addCriterion("coin <=", value, "coin");
            return (Criteria) this;
        }

        public Criteria andCoinLike(String value) {
            addCriterion("coin like", value, "coin");
            return (Criteria) this;
        }

        public Criteria andCoinNotLike(String value) {
            addCriterion("coin not like", value, "coin");
            return (Criteria) this;
        }

        public Criteria andCoinIn(List<String> values) {
            addCriterion("coin in", values, "coin");
            return (Criteria) this;
        }

        public Criteria andCoinNotIn(List<String> values) {
            addCriterion("coin not in", values, "coin");
            return (Criteria) this;
        }

        public Criteria andCoinBetween(String value1, String value2) {
            addCriterion("coin between", value1, value2, "coin");
            return (Criteria) this;
        }

        public Criteria andCoinNotBetween(String value1, String value2) {
            addCriterion("coin not between", value1, value2, "coin");
            return (Criteria) this;
        }

        public Criteria andFaveritueIsNull() {
            addCriterion("faveritue is null");
            return (Criteria) this;
        }

        public Criteria andFaveritueIsNotNull() {
            addCriterion("faveritue is not null");
            return (Criteria) this;
        }

        public Criteria andFaveritueEqualTo(String value) {
            addCriterion("faveritue =", value, "faveritue");
            return (Criteria) this;
        }

        public Criteria andFaveritueNotEqualTo(String value) {
            addCriterion("faveritue <>", value, "faveritue");
            return (Criteria) this;
        }

        public Criteria andFaveritueGreaterThan(String value) {
            addCriterion("faveritue >", value, "faveritue");
            return (Criteria) this;
        }

        public Criteria andFaveritueGreaterThanOrEqualTo(String value) {
            addCriterion("faveritue >=", value, "faveritue");
            return (Criteria) this;
        }

        public Criteria andFaveritueLessThan(String value) {
            addCriterion("faveritue <", value, "faveritue");
            return (Criteria) this;
        }

        public Criteria andFaveritueLessThanOrEqualTo(String value) {
            addCriterion("faveritue <=", value, "faveritue");
            return (Criteria) this;
        }

        public Criteria andFaveritueLike(String value) {
            addCriterion("faveritue like", value, "faveritue");
            return (Criteria) this;
        }

        public Criteria andFaveritueNotLike(String value) {
            addCriterion("faveritue not like", value, "faveritue");
            return (Criteria) this;
        }

        public Criteria andFaveritueIn(List<String> values) {
            addCriterion("faveritue in", values, "faveritue");
            return (Criteria) this;
        }

        public Criteria andFaveritueNotIn(List<String> values) {
            addCriterion("faveritue not in", values, "faveritue");
            return (Criteria) this;
        }

        public Criteria andFaveritueBetween(String value1, String value2) {
            addCriterion("faveritue between", value1, value2, "faveritue");
            return (Criteria) this;
        }

        public Criteria andFaveritueNotBetween(String value1, String value2) {
            addCriterion("faveritue not between", value1, value2, "faveritue");
            return (Criteria) this;
        }

        public Criteria andShareIsNull() {
            addCriterion("`share` is null");
            return (Criteria) this;
        }

        public Criteria andShareIsNotNull() {
            addCriterion("`share` is not null");
            return (Criteria) this;
        }

        public Criteria andShareEqualTo(String value) {
            addCriterion("`share` =", value, "share");
            return (Criteria) this;
        }

        public Criteria andShareNotEqualTo(String value) {
            addCriterion("`share` <>", value, "share");
            return (Criteria) this;
        }

        public Criteria andShareGreaterThan(String value) {
            addCriterion("`share` >", value, "share");
            return (Criteria) this;
        }

        public Criteria andShareGreaterThanOrEqualTo(String value) {
            addCriterion("`share` >=", value, "share");
            return (Criteria) this;
        }

        public Criteria andShareLessThan(String value) {
            addCriterion("`share` <", value, "share");
            return (Criteria) this;
        }

        public Criteria andShareLessThanOrEqualTo(String value) {
            addCriterion("`share` <=", value, "share");
            return (Criteria) this;
        }

        public Criteria andShareLike(String value) {
            addCriterion("`share` like", value, "share");
            return (Criteria) this;
        }

        public Criteria andShareNotLike(String value) {
            addCriterion("`share` not like", value, "share");
            return (Criteria) this;
        }

        public Criteria andShareIn(List<String> values) {
            addCriterion("`share` in", values, "share");
            return (Criteria) this;
        }

        public Criteria andShareNotIn(List<String> values) {
            addCriterion("`share` not in", values, "share");
            return (Criteria) this;
        }

        public Criteria andShareBetween(String value1, String value2) {
            addCriterion("`share` between", value1, value2, "share");
            return (Criteria) this;
        }

        public Criteria andShareNotBetween(String value1, String value2) {
            addCriterion("`share` not between", value1, value2, "share");
            return (Criteria) this;
        }

        public Criteria andLikeIsNull() {
            addCriterion("`like` is null");
            return (Criteria) this;
        }

        public Criteria andLikeIsNotNull() {
            addCriterion("`like` is not null");
            return (Criteria) this;
        }

        public Criteria andLikeEqualTo(String value) {
            addCriterion("`like` =", value, "like");
            return (Criteria) this;
        }

        public Criteria andLikeNotEqualTo(String value) {
            addCriterion("`like` <>", value, "like");
            return (Criteria) this;
        }

        public Criteria andLikeGreaterThan(String value) {
            addCriterion("`like` >", value, "like");
            return (Criteria) this;
        }

        public Criteria andLikeGreaterThanOrEqualTo(String value) {
            addCriterion("`like` >=", value, "like");
            return (Criteria) this;
        }

        public Criteria andLikeLessThan(String value) {
            addCriterion("`like` <", value, "like");
            return (Criteria) this;
        }

        public Criteria andLikeLessThanOrEqualTo(String value) {
            addCriterion("`like` <=", value, "like");
            return (Criteria) this;
        }

        public Criteria andLikeLike(String value) {
            addCriterion("`like` like", value, "like");
            return (Criteria) this;
        }

        public Criteria andLikeNotLike(String value) {
            addCriterion("`like` not like", value, "like");
            return (Criteria) this;
        }

        public Criteria andLikeIn(List<String> values) {
            addCriterion("`like` in", values, "like");
            return (Criteria) this;
        }

        public Criteria andLikeNotIn(List<String> values) {
            addCriterion("`like` not in", values, "like");
            return (Criteria) this;
        }

        public Criteria andLikeBetween(String value1, String value2) {
            addCriterion("`like` between", value1, value2, "like");
            return (Criteria) this;
        }

        public Criteria andLikeNotBetween(String value1, String value2) {
            addCriterion("`like` not between", value1, value2, "like");
            return (Criteria) this;
        }

        public Criteria andDanmuIsNull() {
            addCriterion("danmu is null");
            return (Criteria) this;
        }

        public Criteria andDanmuIsNotNull() {
            addCriterion("danmu is not null");
            return (Criteria) this;
        }

        public Criteria andDanmuEqualTo(String value) {
            addCriterion("danmu =", value, "danmu");
            return (Criteria) this;
        }

        public Criteria andDanmuNotEqualTo(String value) {
            addCriterion("danmu <>", value, "danmu");
            return (Criteria) this;
        }

        public Criteria andDanmuGreaterThan(String value) {
            addCriterion("danmu >", value, "danmu");
            return (Criteria) this;
        }

        public Criteria andDanmuGreaterThanOrEqualTo(String value) {
            addCriterion("danmu >=", value, "danmu");
            return (Criteria) this;
        }

        public Criteria andDanmuLessThan(String value) {
            addCriterion("danmu <", value, "danmu");
            return (Criteria) this;
        }

        public Criteria andDanmuLessThanOrEqualTo(String value) {
            addCriterion("danmu <=", value, "danmu");
            return (Criteria) this;
        }

        public Criteria andDanmuLike(String value) {
            addCriterion("danmu like", value, "danmu");
            return (Criteria) this;
        }

        public Criteria andDanmuNotLike(String value) {
            addCriterion("danmu not like", value, "danmu");
            return (Criteria) this;
        }

        public Criteria andDanmuIn(List<String> values) {
            addCriterion("danmu in", values, "danmu");
            return (Criteria) this;
        }

        public Criteria andDanmuNotIn(List<String> values) {
            addCriterion("danmu not in", values, "danmu");
            return (Criteria) this;
        }

        public Criteria andDanmuBetween(String value1, String value2) {
            addCriterion("danmu between", value1, value2, "danmu");
            return (Criteria) this;
        }

        public Criteria andDanmuNotBetween(String value1, String value2) {
            addCriterion("danmu not between", value1, value2, "danmu");
            return (Criteria) this;
        }

        public Criteria andSayIsNull() {
            addCriterion("say is null");
            return (Criteria) this;
        }

        public Criteria andSayIsNotNull() {
            addCriterion("say is not null");
            return (Criteria) this;
        }

        public Criteria andSayEqualTo(String value) {
            addCriterion("say =", value, "say");
            return (Criteria) this;
        }

        public Criteria andSayNotEqualTo(String value) {
            addCriterion("say <>", value, "say");
            return (Criteria) this;
        }

        public Criteria andSayGreaterThan(String value) {
            addCriterion("say >", value, "say");
            return (Criteria) this;
        }

        public Criteria andSayGreaterThanOrEqualTo(String value) {
            addCriterion("say >=", value, "say");
            return (Criteria) this;
        }

        public Criteria andSayLessThan(String value) {
            addCriterion("say <", value, "say");
            return (Criteria) this;
        }

        public Criteria andSayLessThanOrEqualTo(String value) {
            addCriterion("say <=", value, "say");
            return (Criteria) this;
        }

        public Criteria andSayLike(String value) {
            addCriterion("say like", value, "say");
            return (Criteria) this;
        }

        public Criteria andSayNotLike(String value) {
            addCriterion("say not like", value, "say");
            return (Criteria) this;
        }

        public Criteria andSayIn(List<String> values) {
            addCriterion("say in", values, "say");
            return (Criteria) this;
        }

        public Criteria andSayNotIn(List<String> values) {
            addCriterion("say not in", values, "say");
            return (Criteria) this;
        }

        public Criteria andSayBetween(String value1, String value2) {
            addCriterion("say between", value1, value2, "say");
            return (Criteria) this;
        }

        public Criteria andSayNotBetween(String value1, String value2) {
            addCriterion("say not between", value1, value2, "say");
            return (Criteria) this;
        }

        public Criteria andUrlIsNull() {
            addCriterion("url is null");
            return (Criteria) this;
        }

        public Criteria andUrlIsNotNull() {
            addCriterion("url is not null");
            return (Criteria) this;
        }

        public Criteria andUrlEqualTo(String value) {
            addCriterion("url =", value, "url");
            return (Criteria) this;
        }

        public Criteria andUrlNotEqualTo(String value) {
            addCriterion("url <>", value, "url");
            return (Criteria) this;
        }

        public Criteria andUrlGreaterThan(String value) {
            addCriterion("url >", value, "url");
            return (Criteria) this;
        }

        public Criteria andUrlGreaterThanOrEqualTo(String value) {
            addCriterion("url >=", value, "url");
            return (Criteria) this;
        }

        public Criteria andUrlLessThan(String value) {
            addCriterion("url <", value, "url");
            return (Criteria) this;
        }

        public Criteria andUrlLessThanOrEqualTo(String value) {
            addCriterion("url <=", value, "url");
            return (Criteria) this;
        }

        public Criteria andUrlLike(String value) {
            addCriterion("url like", value, "url");
            return (Criteria) this;
        }

        public Criteria andUrlNotLike(String value) {
            addCriterion("url not like", value, "url");
            return (Criteria) this;
        }

        public Criteria andUrlIn(List<String> values) {
            addCriterion("url in", values, "url");
            return (Criteria) this;
        }

        public Criteria andUrlNotIn(List<String> values) {
            addCriterion("url not in", values, "url");
            return (Criteria) this;
        }

        public Criteria andUrlBetween(String value1, String value2) {
            addCriterion("url between", value1, value2, "url");
            return (Criteria) this;
        }

        public Criteria andUrlNotBetween(String value1, String value2) {
            addCriterion("url not between", value1, value2, "url");
            return (Criteria) this;
        }

        public Criteria andIpaddrIsNull() {
            addCriterion("ipaddr is null");
            return (Criteria) this;
        }

        public Criteria andIpaddrIsNotNull() {
            addCriterion("ipaddr is not null");
            return (Criteria) this;
        }

        public Criteria andIpaddrEqualTo(String value) {
            addCriterion("ipaddr =", value, "ipaddr");
            return (Criteria) this;
        }

        public Criteria andIpaddrNotEqualTo(String value) {
            addCriterion("ipaddr <>", value, "ipaddr");
            return (Criteria) this;
        }

        public Criteria andIpaddrGreaterThan(String value) {
            addCriterion("ipaddr >", value, "ipaddr");
            return (Criteria) this;
        }

        public Criteria andIpaddrGreaterThanOrEqualTo(String value) {
            addCriterion("ipaddr >=", value, "ipaddr");
            return (Criteria) this;
        }

        public Criteria andIpaddrLessThan(String value) {
            addCriterion("ipaddr <", value, "ipaddr");
            return (Criteria) this;
        }

        public Criteria andIpaddrLessThanOrEqualTo(String value) {
            addCriterion("ipaddr <=", value, "ipaddr");
            return (Criteria) this;
        }

        public Criteria andIpaddrLike(String value) {
            addCriterion("ipaddr like", value, "ipaddr");
            return (Criteria) this;
        }

        public Criteria andIpaddrNotLike(String value) {
            addCriterion("ipaddr not like", value, "ipaddr");
            return (Criteria) this;
        }

        public Criteria andIpaddrIn(List<String> values) {
            addCriterion("ipaddr in", values, "ipaddr");
            return (Criteria) this;
        }

        public Criteria andIpaddrNotIn(List<String> values) {
            addCriterion("ipaddr not in", values, "ipaddr");
            return (Criteria) this;
        }

        public Criteria andIpaddrBetween(String value1, String value2) {
            addCriterion("ipaddr between", value1, value2, "ipaddr");
            return (Criteria) this;
        }

        public Criteria andIpaddrNotBetween(String value1, String value2) {
            addCriterion("ipaddr not between", value1, value2, "ipaddr");
            return (Criteria) this;
        }

        public Criteria andWeekIsNull() {
            addCriterion("week is null");
            return (Criteria) this;
        }

        public Criteria andWeekIsNotNull() {
            addCriterion("week is not null");
            return (Criteria) this;
        }

        public Criteria andWeekEqualTo(String value) {
            addCriterion("week =", value, "week");
            return (Criteria) this;
        }

        public Criteria andWeekNotEqualTo(String value) {
            addCriterion("week <>", value, "week");
            return (Criteria) this;
        }

        public Criteria andWeekGreaterThan(String value) {
            addCriterion("week >", value, "week");
            return (Criteria) this;
        }

        public Criteria andWeekGreaterThanOrEqualTo(String value) {
            addCriterion("week >=", value, "week");
            return (Criteria) this;
        }

        public Criteria andWeekLessThan(String value) {
            addCriterion("week <", value, "week");
            return (Criteria) this;
        }

        public Criteria andWeekLessThanOrEqualTo(String value) {
            addCriterion("week <=", value, "week");
            return (Criteria) this;
        }

        public Criteria andWeekLike(String value) {
            addCriterion("week like", value, "week");
            return (Criteria) this;
        }

        public Criteria andWeekNotLike(String value) {
            addCriterion("week not like", value, "week");
            return (Criteria) this;
        }

        public Criteria andWeekIn(List<String> values) {
            addCriterion("week in", values, "week");
            return (Criteria) this;
        }

        public Criteria andWeekNotIn(List<String> values) {
            addCriterion("week not in", values, "week");
            return (Criteria) this;
        }

        public Criteria andWeekBetween(String value1, String value2) {
            addCriterion("week between", value1, value2, "week");
            return (Criteria) this;
        }

        public Criteria andWeekNotBetween(String value1, String value2) {
            addCriterion("week not between", value1, value2, "week");
            return (Criteria) this;
        }

        public Criteria andWeeknameIsNull() {
            addCriterion("weekname is null");
            return (Criteria) this;
        }

        public Criteria andWeeknameIsNotNull() {
            addCriterion("weekname is not null");
            return (Criteria) this;
        }

        public Criteria andWeeknameEqualTo(String value) {
            addCriterion("weekname =", value, "weekname");
            return (Criteria) this;
        }

        public Criteria andWeeknameNotEqualTo(String value) {
            addCriterion("weekname <>", value, "weekname");
            return (Criteria) this;
        }

        public Criteria andWeeknameGreaterThan(String value) {
            addCriterion("weekname >", value, "weekname");
            return (Criteria) this;
        }

        public Criteria andWeeknameGreaterThanOrEqualTo(String value) {
            addCriterion("weekname >=", value, "weekname");
            return (Criteria) this;
        }

        public Criteria andWeeknameLessThan(String value) {
            addCriterion("weekname <", value, "weekname");
            return (Criteria) this;
        }

        public Criteria andWeeknameLessThanOrEqualTo(String value) {
            addCriterion("weekname <=", value, "weekname");
            return (Criteria) this;
        }

        public Criteria andWeeknameLike(String value) {
            addCriterion("weekname like", value, "weekname");
            return (Criteria) this;
        }

        public Criteria andWeeknameNotLike(String value) {
            addCriterion("weekname not like", value, "weekname");
            return (Criteria) this;
        }

        public Criteria andWeeknameIn(List<String> values) {
            addCriterion("weekname in", values, "weekname");
            return (Criteria) this;
        }

        public Criteria andWeeknameNotIn(List<String> values) {
            addCriterion("weekname not in", values, "weekname");
            return (Criteria) this;
        }

        public Criteria andWeeknameBetween(String value1, String value2) {
            addCriterion("weekname between", value1, value2, "weekname");
            return (Criteria) this;
        }

        public Criteria andWeeknameNotBetween(String value1, String value2) {
            addCriterion("weekname not between", value1, value2, "weekname");
            return (Criteria) this;
        }

        public Criteria andWeekwordIsNull() {
            addCriterion("weekword is null");
            return (Criteria) this;
        }

        public Criteria andWeekwordIsNotNull() {
            addCriterion("weekword is not null");
            return (Criteria) this;
        }

        public Criteria andWeekwordEqualTo(String value) {
            addCriterion("weekword =", value, "weekword");
            return (Criteria) this;
        }

        public Criteria andWeekwordNotEqualTo(String value) {
            addCriterion("weekword <>", value, "weekword");
            return (Criteria) this;
        }

        public Criteria andWeekwordGreaterThan(String value) {
            addCriterion("weekword >", value, "weekword");
            return (Criteria) this;
        }

        public Criteria andWeekwordGreaterThanOrEqualTo(String value) {
            addCriterion("weekword >=", value, "weekword");
            return (Criteria) this;
        }

        public Criteria andWeekwordLessThan(String value) {
            addCriterion("weekword <", value, "weekword");
            return (Criteria) this;
        }

        public Criteria andWeekwordLessThanOrEqualTo(String value) {
            addCriterion("weekword <=", value, "weekword");
            return (Criteria) this;
        }

        public Criteria andWeekwordLike(String value) {
            addCriterion("weekword like", value, "weekword");
            return (Criteria) this;
        }

        public Criteria andWeekwordNotLike(String value) {
            addCriterion("weekword not like", value, "weekword");
            return (Criteria) this;
        }

        public Criteria andWeekwordIn(List<String> values) {
            addCriterion("weekword in", values, "weekword");
            return (Criteria) this;
        }

        public Criteria andWeekwordNotIn(List<String> values) {
            addCriterion("weekword not in", values, "weekword");
            return (Criteria) this;
        }

        public Criteria andWeekwordBetween(String value1, String value2) {
            addCriterion("weekword between", value1, value2, "weekword");
            return (Criteria) this;
        }

        public Criteria andWeekwordNotBetween(String value1, String value2) {
            addCriterion("weekword not between", value1, value2, "weekword");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {
        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}